package com.zys.background.common.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author zys
 * @since 2022-11-21
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class SecurityConstants {
  /**
   * 授权标识
   */
  public static final String AUTHORIZATION = "Authorization";

  /**
   * token 前缀
   */
  public static final String TOKEN_PREFIX = "Bearer ";

  /**
   * 角色前缀
   */
  public static final String ROLE = "ROLE_";

  /**
   * 客户端模式
   */
  public static final String CLIENT_CREDENTIALS = "client_credentials";
}
